import request from '@/utils/request'

export default {
  getRecordList(currentPage,pageSize,feesQuery) {
    return request({
      url: `/fees/list/${currentPage}/${pageSize}`,
      method: 'post',
      data: feesQuery
    })
  },
  getAddList(){
    return request({
      url: `/fees/getList`,
      method:'get',
    })
  },
  saveRecord(feesRecord) {
    return request({
      url: `/fees/save`,
      method: 'post',
      data: feesRecord
    })
  },
  updateRecord(feesRecord) {
    return request({
      url: `/fees/update`,
      method: 'post',
      data: feesRecord
    })
  },
  getById(id){
    return request({
      url: `/fees/getById/${id}`,
      method: 'get'
    })
  },
  remove(id){
    return request({
      url: `/fees/remove/${id}`,
      method: 'get'
    })
  }


}
